@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root{
  @apply w-full flex flex-col justify-center items-center;
  height: 100vh;
}
.cakes{
  @apply flex items-center justify-center text-2xl m-1 rounded-xl 
  hover:shadow hover:bg-opacity-70 transition-colors;
  cursor:grab;
  height: 75px;
  width: 75px;
  user-select: none;
}

.overlay{
  @apply w-full h-full bg-white bg-opacity-80 flex flex-col items-center justify-center fixed top-0 left-0;
}

.button{
  @apply rounded text-white py-2 px-4 hover:bg-opacity-90 hover:shadow-md transition-all;
}
.pop{
  animation: pop 1.5s ease-in-out infinite;
}

@keyframes pop {
  0% {
    transform: scale(1)
  }
  50%{
    transform: scale(1.3);
  }

  to {
    transform: scale(1);
  }
}